<?php


use Illuminate\Support\Facades\Route;
use Plugin\PaypalSiteA\Controllers\PollingPaypalController;

Route::group(['prefix' => 'paypal_site_a'], function () {
    Route::get('/query', [
        PollingPaypalController::class,
        'query'
    ])->name('paypal_site_a.query');
});

Route::post('callback/paypal_site_a/capture', [
    PollingPaypalController::class,
    'capture'
])->name('paypal_site_a.capture');

